package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.view.View;
import com.huawei.appgallery.foundation.card.base.normal.bean.NormalCardBean;
import java.util.List;
import o.azb;
import o.cgz;
import o.chc;
import o.CollectCheck;

public class BigHorizonHomeCustomedCard extends NormalHorizonCard {
    public BigHorizonHomeCustomedCard(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        super.ˏ(view);
        int ˊ = azb.ˊ(this.ʼॱ) - this.ᐝ.ˊ();
        this.ˎ.setPadding(ˊ, this.ˎ.getPaddingTop(), ˊ, this.ˎ.getPaddingBottom());
        return this;
    }

    public void ˎ() {
        int ˏ = chc.ˏ();
        this.ᐝ.ˋ(ˏ);
        this.ᐝ.ॱ(ˏ);
    }

    public int ˋॱ() {
        return chc.ॱˊ();
    }

    protected boolean ˏ(Context context, List<NormalCardBean> list) {
        if (!CollectCheck.isEmpty(list) && list.size() > ˋॱ()) {
            return true;
        }
        return false;
    }
}
